package com.zenith.api.po.dto.edu;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduCourseClassDTO", description = "课程班级关系DTO")
public class EduCourseClassDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "班级ID")
    private Long classId;
    
    @Schema(description = "授课教师ID")
    private Long teacherId;
    
    @Schema(description = "学期：2025-S1")
    private String term;
    
    @Schema(description = "开课日期")
    private LocalDate startDate;
    
    @Schema(description = "结课日期")
    private LocalDate endDate;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
}